﻿@model EagleProject.Models.ContactInfoModel

@{
    ViewBag.Title = "Contact";
}

@if (ViewBag.Result != null)
{
    <hgroup class="title">
        <h1>@ViewBag.Result</h1>
    </hgroup>
    return;
}


<link href="~/Content/login.css" rel="stylesheet" />
<link href="~/Content/discovery.css" rel="stylesheet" />

<style>
    li {
        list-style-type: none;
    }
</style>


@using (Html.BeginForm("Contact", "Home", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@ViewBag.Title</legend>
        <ol>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Name)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.Name)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Name)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Email)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.Email)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Email)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Subject)</div>
                <div class="tbl-next">@Html.TextBoxFor(m => m.Subject)</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Subject)</div>
                <div class="clear"></div>
            </li>
            <li>
                <div class="tbl-first">@Html.LabelFor(m => m.Message)</div>
                <div class="tbl-next">@Html.TextAreaFor(m => m.Message, htmlAttributes: new { @cols = 42, @rows = 5 })</div>
                <div class="tbl-end">@Html.ValidationMessageFor(m => m.Message)</div>
                <div class="clear"></div>
            </li>
            <li>
                <input class="btn" type="submit" value="Send" />
            </li>
        </ol>
        
    </fieldset>
}

<section class="contact">
    <header>
        <h3>Phone</h3>
    </header>
    <p>
        <span class="label">+234-081-5747-8047</span>
    </p>
    <p>
        <span class="label">+234-081-6869-4999</span>
    </p>
</section>

<section class="contact">
    <header>
        <h3>Email</h3>
    </header>
    <p>
        <span class="label">Support:</span>
        <span><a href="mailto:info@webplanetcon.com">info@webplanetcon.com</a></span>
    </p>
</section>

<section class="contact">
    <header>
        <h3>Address</h3>
    </header>
    <p>
        Suite C4 Bobsar paza Michika Street, Opposite KIA Motors,
                    <br />
        Area 11, Garki, Abuja, Nigeria
    </p>
</section>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}


<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
    src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=H%C3%A0+N%E1%BB%99i,+Hanoi,+Vietnam&amp;aq=0&amp;oq=ha+noi,+viet&amp;sll=37.0625,-95.677068&amp;sspn=40.59616,86.572266&amp;ie=UTF8&amp;hq=&amp;hnear=Hanoi,+Hoan+Kiem+District,+Hanoi,+Vietnam&amp;t=m&amp;z=13&amp;ll=21.033333,105.85&amp;output=embed"></iframe>
<br />
<small><a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=H%C3%A0+N%E1%BB%99i,+Hanoi,+Vietnam&amp;aq=0&amp;oq=ha+noi,+viet&amp;sll=37.0625,-95.677068&amp;sspn=40.59616,86.572266&amp;ie=UTF8&amp;hq=&amp;hnear=Hanoi,+Hoan+Kiem+District,+Hanoi,+Vietnam&amp;t=m&amp;z=13&amp;ll=21.033333,105.85" style="color: #0000FF; text-align: left">View Larger Map</a></small>


